package com.my.action;

import javax.servlet.http.HttpServletRequest;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author wb-zc189961
 *
 */
@Controller
@RequestMapping(value="/uEditor")
public class UEditorAction {
	private static final Logger logger = LoggerFactory.getLogger(UEditorAction.class);
	@RequestMapping(value="uEditor")
	public String uEditor(HttpServletRequest request){
		String content=request.getParameter("uEditorContent");
		System.out.println(content);
		request.setAttribute("content", content);
		return "uEditor/uEditorContent";
	}
	
	@RequestMapping(value = "/goto_uEditor")
	public String gotoTest() {
		return "uEditor/uEditor";
	}
}
